import Vuex from 'vuex'
import Vue from 'vue'
Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    isShow: true
  },
  mutations: {
    changeShow (state) {
      state.isShow = !state.isShow
    }
  }
})

export default store
